import request from '@/utils/request'

// 查询考察点列表
export function listInspectPoint(query) {
  return request({
    url: '/stu/inspectPoint/list',
    method: 'get',
    params: query
  })
}

// 查询考察点列表
export function listInspectPointAll(query) {
    return request({
        url: '/stu/inspectPoint/listAll',
        method: 'get',
        params: query
    })
}



// 查询考察点详细
export function getInspectPoint(id) {
  return request({
    url: '/stu/inspectPoint/' + id,
    method: 'get'
  })
}

// 新增考察点
export function addInspectPoint(data) {
  return request({
    url: '/stu/inspectPoint',
    method: 'post',
    data: data
  })
}

// 修改考察点
export function updateInspectPoint(data) {
  return request({
    url: '/stu/inspectPoint',
    method: 'put',
    data: data
  })
}

// 删除考察点
export function delInspectPoint(id) {
  return request({
    url: '/stu/inspectPoint/' + id,
    method: 'delete'
  })
}



